package com.xc.mian;

import java.util.List;
import java.util.Random;
import java.util.Scanner;

public class Range {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        Random r = new Random();
        int rnum=r.nextInt(9)+2;
        int[] arrs = new int[5];
        System.out.println(rnum);
        for (int i = 0; i < arrs.length; i++) {
            System.out.println("请第"+(i+1)+"次输入1-60之间的整数:");
            int num=sc.nextInt();
            arrs[i]=num;
            if (num%rnum!=0){
                System.out.println(num+"不是"+rnum+"的倍数");
            }
        }

    }
}
